<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysApproveLevelRateVehicleTypeDccBean.id}"/>
		<f:event type="preRenderView" listener="#{sysApproveLevelRateVehicleTypeDccBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sys Approve Level Rate Vehicle Type Dcc"/>

	<ui:define name="header">
		Sys Approve Level Rate Vehicle Type Dcc
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty sysApproveLevelRateVehicleTypeDccBean.id}">
				Edit existing Sys Approve Level Rate Vehicle Type Dcc
			</c:when>
			<c:otherwise>
				Create a new Sys Approve Level Rate Vehicle Type Dcc
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysVehicleGearType" value="Sys Vehicle Gear Type:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysVehicleGearTypeBean.converter}" id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysVehicleGearType" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.sysVehicleGearType}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysVehicleGearTypeBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysVehicleGearType" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysApproveLevelRateVehicleType" value="Sys Approve Level Rate Vehicle Type:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysApproveLevelRateVehicleTypeBean.converter}" id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysApproveLevelRateVehicleType" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.sysApproveLevelRateVehicleType}">
						<f:selectItem/>
						<f:selectItems value="#{sysApproveLevelRateVehicleTypeBean.all}"/>
					</h:selectOneMenu>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccSysApproveLevelRateVehicleType" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMinYear" value="Vehicle Life Min Year:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMinYear" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.vehicleLifeMinYear}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMinYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMaxYear" value="Vehicle Life Max Year:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMaxYear" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.vehicleLifeMaxYear}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccVehicleLifeMaxYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsAllowDc" value="Status Is Allow Dc:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsAllowDc" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.statusIsAllowDc}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsAllowDc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMinYear" value="Dc Vehicle Life Min Year:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMinYear" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.dcVehicleLifeMinYear}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMinYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMaxYear" value="Dc Vehicle Life Max Year:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMaxYear" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.dcVehicleLifeMaxYear}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcVehicleLifeMaxYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcMaxVal" value="Dc Max Val:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcMaxVal" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.dcMaxVal}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccDcMaxVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsUsedVehicleRate" value="Status Is Used Vehicle Rate:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsUsedVehicleRate" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.statusIsUsedVehicleRate}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccStatusIsUsedVehicleRate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMinVal" value="Not Used Rate Min Val:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMinVal" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.notUsedRateMinVal}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMinVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMaxVal" value="Not Used Rate Max Val:"/>
				<h:panelGroup>
					<h:inputText id="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMaxVal" value="#{sysApproveLevelRateVehicleTypeDccBean.sysApproveLevelRateVehicleTypeDcc.notUsedRateMaxVal}"/>
					<h:message for="sysApproveLevelRateVehicleTypeDccBeanSysApproveLevelRateVehicleTypeDccNotUsedRateMaxVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{sysApproveLevelRateVehicleTypeDccBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty sysApproveLevelRateVehicleTypeDccBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{sysApproveLevelRateVehicleTypeDccBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{sysApproveLevelRateVehicleTypeDccBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>